# 读取文件数据
def openfile(fileaddress):
    fp = open(fileaddress, mode='r', buffering=-1, encoding='utf-8')
    res = []
    lines = fp.read().splitlines()
    for items in lines:
        for item in items.split(' '):
            if item != '':
                res.append(item)
    return res
